AC_PREREQ([2.68])

AC_INIT([vpnes], [0.2], [viktprog@gmail.com])
AM_INIT_AUTOMAKE([-Wall -Werror])
AM_CONFIG_HEADER([config.h])

AC_COPYRIGHT([Copyright (c) 2012 Ivanov Viktor])
AC_REVISION([rev2])

#Programs

AC_PROG_RANLIB
AC_PROG_CC
AC_PROG_CXX

#Libraries

AM_PATH_SDL([1.2.14], [], [AC_MSG_ERROR([SDL >= 1.2.14 required])])
LIBS="$SDL_LIBS $LIBS"
CFLAGS="$SDL_CFLAGS $CFLAGS"
CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"

#Headers

#Compilator characterics

#Functions

AC_CONFIG_FILES([Makefile
                 nes/Makefile])
AC_OUTPUT
